package com.xy.service;

import com.xy.entity.User;

/**
 * Created by Thinkpad on 2018/1/7.
 */
public interface AuthService {

    User register(User userToAdd);

    User login(String username, String password);

    User login(String username);
}
